package org.bzjj.servlet.bean;

public class CarPrint {
	private String lsh;
	private String hpzl;
	private String hphm;
	private String fzjg;
	private String dylx;

	public CarPrint() {
		super();
	}

	public CarPrint(String lsh, String hpzl, String fzjg, String hphm,
			String dylx) {
		super();
		this.lsh = lsh;
		this.hpzl = hpzl;
		this.hphm = hphm;
		this.fzjg = fzjg;
		setDylx(dylx);
	}

	public String getLsh() {
		return lsh;
	}

	public void setLsh(String lsh) {
		this.lsh = lsh;
	}

	public String getHpzl() {
		return hpzl;
	}

	public void setHpzl(String hpzl) {
		this.hpzl = hpzl;
	}

	public String getHphm() {
		return hphm;
	}

	public void setHphm(String hphm) {
		this.hphm = hphm;
	}

	public String getFzjg() {
		return fzjg;
	}

	public void setFzjg(String fzjg) {
		this.fzjg = fzjg;
	}

	public String getDylx() {
		return dylx;
	}

	public void setDylx(String dylx) {
		if (dylx.equals("E")) {
			this.dylx = "检验合格标志";
		} else if (dylx.equals("F")) {
			this.dylx = "行驶证副页";
		} else {
			this.dylx = dylx;
		}

	}

	@Override
	public String toString() {
		return "CarPrint [lsh=" + lsh + ", hpzl=" + hpzl + ", hphm=" + hphm
				+ ", fzjg=" + fzjg + ", dylx=" + dylx + "]";
	}

}
